Other Global Variables
The following global variables are available globally.
-
Default
ContactsHandler
with defaultContactParser
and defaultContactsInterface
.Example:
let launchManager = LaunchEnvironmentManager() launchManager.add(handler: defaultContactsHander, for: .contacts) launchManager.setup()
Seealso
ContactsHandler
Declaration
Swift
public let defaultContactsHander: ContactsHandler<ContactDictionaryParser, ContactsInterface>
-
Default
EventKitHandler
with defaultEventParser
,ReminderParser
andEventKitInterfaceProtocol
.Example:
let launchManager = LaunchEnvironmentManager() launchManager.add(handler: defaultEventKitHander, for: .events) launchManager.add(handler: defaultEventKitHander, for: .reminders) launchManager.setup()
Seealso
EventKitHandler
Declaration
Swift
public let defaultEventKitHander: DefaultEventKitHander
-
Default
IsInUITestHandler
instance. Singleton which will store information whether the application is running in UI test environment.Example:
let launchManager = LaunchEnvironmentManager() launchManager.add(handler: defaultIsInUITestHandler, for: .isInUITest) launchManager.setup()
Seealso
IsInUITestHandler
Declaration
Swift
public let defaultIsInUITestHandler: IsInUITestHandler